//
//  FunctionAlertView.m
//  Bespoke
//
//  Created by Cheng on 13/1/17.
//
//

#import "FunctionAlertView.h"

@implementation FunctionAlertView
@synthesize delegate;

#pragma mark - Touches

- (BOOL)pointInside:(CGPoint)point withEvent:(UIEvent *)event
{
    if( point.x > 0 && point.x < self.frame.size.width && point.y > 0 && point.y < self.frame.size.height )
    {
        [self.delegate uiViewTouched_FunctionAlert:YES];
        return YES;
    }
    
    [self.delegate uiViewTouched_FunctionAlert:NO];
    return NO;
}
@end
